package cn.dceast.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.thymeleaf.extras.java8time.dialect.Java8TimeDialect;

/**
 * Created by zhengm on 2016/11/23.
 * java8 utils for thymeleaf
 */
@Configuration
public class Java8Config {

    @Bean
    public Java8TimeDialect java8TimeDialect() {
        return new Java8TimeDialect();
    }
}


